package com.ityun.ogapp.utils

import android.speech.tts.TextToSpeech
import com.ityun.ogapp.App
import java.util.Locale


object TextToSpeechUtils {

    private var textToSpeech: TextToSpeech? = null

    fun init() {
        textToSpeech = TextToSpeech(App.context) {
            textToSpeech?.language = Locale.CHINA
        }
    }
}